package com.yang.zngcxyxkjs.mapper;

import com.yang.zngcxyxkjs.pojo.LoginLog;
import com.yang.zngcxyxkjs.pojo.Teacher;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TeacherMapper {

    Teacher teacherLogin(String teaNo, String password);

    List<Teacher> selectTeaByFaceId(Object faceid);

    boolean updateTeacher(Teacher teacher);

    boolean updateTeacherByTeaNo(Teacher teacher);

    Integer insertTeacherLoginlog(LoginLog loginlog);

    Teacher selectTeacherByTeaNo(String teaNo);

    boolean deleteTeacherByTeaNo(String teaNo);

}
